<?php
include 'hero.php';

$hero = new Hero();

$hero->setAttack(200);
$hero->setDefanse(200);
$hero->setEquip(array('旧草鞋', '精钢头盔', '棉布披风'));
$hero->setHp(300);
$hero->setMp(320);

$hero->display();